<?php

// check to see whether the user is a professor.
// the second check is for testing purposes only, based on the GET variable
if($_ENV["WEBAUTH_LDAPAUTHRULE"] == "stanford:administrative"
		 || $_GET["testingUserType"] == "professor")
{
	print "#createNew";
}
else
{
	print "#addExisting";
}

?>